package cn.itfenxiang.roadlawbuddha_back.service.impl;

import cn.itfenxiang.roadlawbuddha_back.mapper.UserMapper;
import cn.itfenxiang.roadlawbuddha_back.pojo.User;
import cn.itfenxiang.roadlawbuddha_back.service.UserService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Resource
    private UserMapper userMapper;

    @Override
    public User findById(Integer id) {
        return userMapper.findById(id);
    }
}
